Thanks for all answers! Actually, the situation is a bit weird. The pin code for locking the phone was entered once, months ago, and was removed quickly as it was annoying to type it multiple times in an hour :) Other security features like face detection, fingerprint, etc. weren't activated. So...