[Unit]
Description=User suspend actions
Before=sleep.target

[Service]
User=%Install
Type-forking
Environment=DISPLAY=:0
ExecStartPre=/usr/bin/i3lock -c 202f56
ExecStart=/usr/bin/systemctl suspend

[Install]
WantedBy=sleep.target