How To Make A Locked Door In Minecraft With Command Blocks

First place an 11 block row of any block and make it two blocks high.
How to make a locked door in minecraft with command blocks.
Source : pinterest.com
How to make a locked door in minecraft with command blocks.