UserLock: Make more RAII-ish
UserLock: Make more RAII-ish

ehmry/nix,shlevy/nix,ehmry/nix,dezgeg/nix,zimbatm/nix,dtzWill/nix,rycee/nix,peti/nix,NixOS/nix,rycee/nix,ehmry/nix,shlevy/nix,peti/nix,dezgeg/nix,layus/nix,dezgeg/nix,NixOS/nix,NixOS/nix,layus/nix,peti/nix,dezgeg/nix,NixOS/nix,bennofs/nix,ehmry/nix,pikajude/nix,shlevy/nix,bennofs/nix,vcunat/nix,shlevy/nix,dtzWill/nix,dtzWill/nix,dtzWill/nix,vcunat/nix,vcunat/nix,ehmry/nix,zimbatm/nix,bennofs/nix,shlevy/nix,peti/nix,zimbatm/nix,layus/nix,dtzWill/nix,rycee/nix,vcunat/nix,ehmry/nix,pikajude/nix,rycee/nix,rycee/nix,peti/nix,NixOS/nix,bennofs/nix,dezgeg/nix,layus/nix,pikajude/nix,zimbatm/nix,layus/nix