Elevator glitch

How come I cant go in a elevator when there is a block on it?

You need a door to enter.

Does it have power?

Yes…