Locks solution