The first part of your requirement (locking/unlocking serveral users in one go) may be done in transaction SU10.
As already said by Deepak, there is no standard way for the second part (kicking out several users).
A workaround I could think of is shutting down and restarting the system. This may or may not be applicable in your case.
regards