lock gates