If you often leave the phone around or if you love privacy and security, turn on the lockdown mode to make sure no one can access your data.
Directly from the latest version of the Android P developers preview you can access this feature right now and on any device.

This app uses the Device Administrator permission.

From version Lockdown Mode from Android P 1.1:

Bug fixes

All versions
Lockdown Mode from Android P 1.1

Version:1.1

Uploaded:January 30, 2019 at 6:52PM UTC

File size:2 MB

Downloads:389

Version:1.0

Uploaded:April 8, 2018 at 11:43PM UTC

File size:1.68 MB

Downloads:5,499