create a idempotent add to path
create a lockscreen function