lock

abstract fun lock()

Locks the device immediately. The users tokens will not be refreshed while locked, which can cause authenticated rest requests to fail.