Locking and sealing devices