You will need to install a user script manager extension to install this script.
Lock an website you want!
you will see '// @match' in the script! replace 'http://*/*' with the website you want to lock.
than you will find some lines under this, 'insertherepassword'! replace 'insertherepassword' with the password you want!
if you have any question write it in the feedback!