Hi adilurrahman5566,
Do you mean the screen does not lock when you press the power key?
Have you enabled "Smart lock" and prevented it from locking? (Settings > Security & lock screen > Smart lock.) Please make sure that you haven't enabled "Smart lock".
Please make sure to update to the latest firmware version WW-90.11.162.111.
Thank you 🙂