You have completed this task if your unlock pattern or device password is not known to other people or if you use biometric features to unlock your device.
Especially for people in toxic relationships, it can be important that other people do not have access to the device. This way, for example, a partner cannot install stalking apps. Passing on access data should never be a proof of love.