The sound of the key turning in the lock awoke him from his slumbers.
He's suddenly woken from sleep by the sound of a lock being unlocked.