Forbidding to ride while entering a door