Still editing lock code