Adding alias for locking the session.