Pressing the rear cover toward the inside causes the lock turn automatically. Then, turn the lock back to where it was.