Basic test & implementation
Correct attachment with no condition
Improve demo
Document code

Improve API: rename check -> locked