Actually make a real scoped locker rather than constructing one that gets immediately thrown away...