locking_resize works