Cellphone type power button

This seems an easy way to implement do you have any reference for it, please?