Fix lock toggle