added unlock method to locker