Use enums for lock settings instead of resources