After you entered "Setting":
#1 go to "Lock screen and security"
#2 click on "Smart lock"
#3 first enter your security password and then click on "On-body detection"
#4 turn it off
I wasn't being suspicious. I was just talking to the person who asked for help and not to anybody else...