Added an accessor method to the user to typecast the locked variable
Merge branch 'master' of https://github.com/ministryofjustice/opg-core-public-domain-model