Did you set a password or pin or any type of security when you first booted the phone up?
I have an old tablet that only has Spotify on it to stream music In the house. When I reset it I chose to not add any security as it never leaves the living room.
Tell us what phone and os it's running and someone here can walk you through setting up a pin, password, pattern or even biometric security.
Sent from my Pixel 6 using Tapatalk