First attempt at implementing screen lock