Here you can find premade code examples on how to implement Lukittu.