Even though an ender chest is a tile entity, and can be successfully edited with the /blockdata command, a locked ender chest can still be opened.
Even though an ender chest is a tile entity, and can be successfully edited with the /blockdata command, a locked ender chest can still be opened.
Ender Chest cannot be locked.
(That's pointless, because you're only seeing your contents)