Revert "Update Lock.php"

This reverts commit 3a4186bef7af55066a87b5d28f05b50355479126.