pyrobosim.core.world.World.lock_location

World.lock_location(location: Entity | str | None) ExecutionResult

Locks a storage location or hallway.

Parameters:

location – Location or Hallway object to lock, or its name.

Returns:

An object describing the execution result.