Support session locking