To prevent misplacing your stylus, turn on these settings:
Adjust settings:

To record the time and location you last removed the stylus, turn Record last removal on 
Be sure to agree to location access at all times. (Allow all the time)

You can choose what happens after you remove the stylus from your phone when it's locked or unlocked.
Removing the stylus can open Moto Note, open Keep Notes, or open nothing.
Choose what should happen when you remove the stylus:
Removing the stylus opens the stylus menu. You can change the shortcuts on the stylus menu or remove it from the screen.
Touch & hold one of the shortcuts on the stylus menu.
Make changes:
To remove a shortcut, tap 
If you remove all shortcuts, you won’t see the stylus menu.

You can temporarily remove the 
Touch & hold 

The next time you remove your stylus, the menu will appear again.

Every time you remove your stylus, the menu will appear.