When set true, the player will be unable to fire their lockon weapon, and will recieve a hint print telling them that there is an obstruction.
level.player WeaponLockNoClearance( true );